home *** CD-ROM | disk | FTP | other *** search
/ dub Media Cool Graphics / Dub Media - Cool Graphics.iso / S2DEMO / SIERRA.INF < prev   
INI File  |  1996-12-03  |  2KB  |  136 lines

  1. [Setup]
  2. SetupSize=840
  3. BillboardSize=0
  4. CanInstallDOS=No
  5.  
  6. [Requirements]
  7. SetupVer=3.2.0.8
  8. Colors=256
  9. MemKB=7168
  10. PhysicalMem=7168
  11. VideoSpeed=300
  12. Wave=2
  13. MIDI=0
  14. CPU=486
  15. WinVer=310
  16. ScreenWidth=640
  17. ScreenHeight=480
  18. Joystick=0
  19. Printer=0
  20. CDROM=2
  21.  
  22. [Ident]
  23. Version=1
  24. PatchVersion=1.0.0.1
  25. ProductID=32744
  26.  
  27. [Files]
  28. *DESTDIR\RESOURCE.WIN,NOARCHIVE,1,540,1
  29.  
  30. [Dialogs]
  31. ;
  32. ; Notification of success
  33. ;
  34. BEGIN 4, Success
  35. SuccessTitle
  36. 1, SuccessText
  37. 10, OKText
  38. END
  39. ;
  40. ; Notification of failure
  41. ;
  42. BEGIN 4, GeneralFailure
  43. GeneralFailureTitle
  44. 1, GeneralFailureText
  45. 10, OKText
  46. END
  47. ;
  48. BEGIN 5, FailedGameSpace
  49. FailedGameSpaceTitle
  50. 1, FailedGameSpaceText
  51. 1, FailedGameSpace2Text
  52. 10, OKText, (), FLAG80
  53. END
  54. ;
  55.  
  56. [Script]
  57. :Begin
  58. ; //////////////////////////////////////
  59. ;
  60. ;The basic process:
  61. ;
  62. ; Win95:
  63. ;    copy resource.win to destdir
  64. ;    check for dsound.dll
  65. ;    modify line in resource.win if dsound.dll is not found
  66. ;
  67. ; Win3.1x:
  68. ;    copy resource.win to destdir
  69. ;    check for dsound.dll
  70. ;    modify line in resource.win if dsound.dll is not found
  71. ;    
  72. ;
  73. ; FLAG usage:
  74. ;        FLAG0   - TRUE if running on Win95
  75. ;
  76. ;        FLAG10  - TRUE if Direct Sound (dsound.dll) was not found
  77. ;
  78. ;        FLAG80  - TRUE if user does not have enough disk space
  79. ;
  80. ; Sections:
  81. ;
  82. ;    :Begin                // Start the whole thing
  83. ;
  84. ;    :CommonSetup            // General setup stuff
  85. ;
  86. ;    :GetDestDir                // Let user pick destination directory for game
  87. ;    :NoSpace                // Inform user of lack of space and subsequent failure
  88. ;    :CopyFiles                // Copy the game files onto user's hard drive
  89. ;    :BadEnd                // Inform user of general installation non-success
  90. ;    :GoodEnd                // Inform user that Setup was successful
  91. ;    :End                    // The End
  92. ;
  93. ; //////////////////////////////////////
  94. ;
  95. RESETFLAGS
  96. ;
  97. :CheckDirectX
  98. EXIST *SYSTEMDIR\DSOUND.DLL FLAG10
  99. ;
  100. :CommonSetup
  101. ;
  102. :GetDestDir
  103. PICKDEST NoSpace
  104. GOTO CopyFiles
  105. ;
  106. :NoSpace
  107. DIALOG FailedGameSpace
  108. GOTO BadEnd
  109. ;
  110. :CopyFiles
  111. COPY
  112. ;
  113. FLAG10 ADDTOINI *DESTDIR\RESOURCE.WIN,Windows,useDirectSound,TRUE
  114. GOTO ProgmanSetup
  115. ;
  116. :ProgmanSetup
  117. ADDPROGMANGROUP Sierra
  118. ADDPROGMANITEM *SOURCEDIR\RSHIVERS.EXE *DESTDIR\RESOURCE.WIN,AppTitle,*SOURCEDIR\s2demo.ico,*SOURCEDIR
  119. ADDPROGMANITEM *SIERRADIR\SETUP.EXE,SetupTitle,*SIERRADIR\SETUP.EXE,*SIERRADIR
  120. GOTO GoodEnd
  121. ;
  122. :BadEnd
  123. DIALOG GeneralFailure
  124. GOTO End
  125. ;
  126. :GoodEnd
  127. DIALOG Success
  128. GOTO End
  129. ;
  130. :End
  131. END
  132.  
  133. [Misc]
  134. SourceDir=E:\
  135.  
  136.